feat(CCHAIN-1193): Malicious node -- produce equivocations#1517
feat(CCHAIN-1193): Malicious node -- produce equivocations#1517sergio-mena wants to merge 1 commit intocirclefin:mainfrom
Conversation
|
Hi @sergio-mena, Thank you for your interest in contributing to Malachite. This PR has been automatically closed because it does not reference a GitHub issue. All PRs must reference an existing issue using the format To contribute properly:
Please see our CONTRIBUTING.md for more details. |
|
Hi @sergio-mena, Thank you for your interest in contributing to Malachite. This PR has been automatically closed because you are not assigned to issue #1518. We require contributors to be explicitly assigned to an issue before submitting a PR. To contribute properly:
Please see our CONTRIBUTING.md for more details. |
|
This was used to create a temporary malicious image to deploy on devnet. This has been done, so it's better for this code not to be merged to |
Closes: #1518
This PR introduces all kinds of equivocation. The behavior is hidden behind environment variable
TEST_ONLY_MALICIOUS_NODE. This should NEVER be set in production.The effect of this change is to produce all three types of equivocation in the network, where we can observe them in the logs, and RPC methods.
This PR will be reverted once the needed data has been produced on
devnetPR author checklist
Contribution eligibility
For all contributors
RELEASE_NOTES.mdif the change warrants itBREAKING_CHANGES.mdif the change warrants itFor external contributors